# -*- coding: utf-8 -*-
from flask_sqlalchemy import SQLAlchemy
db = SQLAlchemy()


class User(db.Model):
    __tablename__ = "user"
    id_rel = db.Column(db.String(128), primary_key=True)
    xm = db.Column(db.String(128), nullable=False)
    nl = db.Column(db.String(128), nullable=False)
    xb = db.Column(db.Enum("男","女"), server_default="男")
    lxdh = db.Column(db.String(128))
